class KFForcedGameSet extends Mutator
	config(UnitedMut);

var config int	ForcedStartingCash,
				ForcedMinRespawnCash,
				ForcedTimeBetweenWaves,
				MaxMonstersOnce;
var config float WaveSpawnPeriod;
//--------------------------------------------------------------------------------------------------
function PostBeginPlay()
{
	SetTimer(0.5,True);
	//SaveConfig();
}
//--------------------------------------------------------------------------------------------------
function Timer()
{
	local KFLevelRules KFLRit;
	local SRGameType SRGT;
	
	foreach DynamicActors(class'KFLevelRules',KFLRit)
		KFLRit.WaveSpawnPeriod=WaveSpawnPeriod;
		
	KFGameType(Level.Game).MaxZombiesOnce=MaxMonstersOnce;
	KFGameType(Level.Game).StandardMaxZombiesOnce=MaxMonstersOnce;
	foreach DynamicActors(class'SRGameType',SRGT)
		SRGT.WaveMaxMonsters=MaxMonstersOnce;
	
	KFGameType(Level.Game).StartingCash=ForcedStartingCash;
	KFGameType(Level.Game).MinRespawnCash=ForcedMinRespawnCash;
	KFGameType(Level.Game).TimeBetweenWaves=ForcedTimeBetweenWaves;
}
//--------------------------------------------------------------------------------------------------
defaultproperties
{
	MaxMonstersOnce=70
	WaveSpawnPeriod=2.00
	ForcedTimeBetweenWaves=120
	ForcedStartingCash=3000
	ForcedMinRespawnCash=2500
	GroupName="KFForceGame"
	FriendlyName="Forced Game Settings"
	Description="Forces Game Settings."
}
